//
//  WTBarrageManager.h
//  WTLiveSDKDemo
//
//  Created by ben on 2016/11/25.
//  Copyright © 2016年 ben. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WTBarrageOperation.h"


/**
 更新剩余金币的block
 
 @param leftCoin 剩余的金币
 */
typedef void(^WTBarrageUpdateLeftCoinBlock)(NSNumber* leftCoin);

@interface WTBarrageManager : NSObject

+ (instancetype)sharedManager;

/**
 添加一条弹幕到队列

 @param barrage 弹幕
 @param send_to_user_id 被赠送的对象
 */
- (void)addBarrage:(WTBarrageSendModel*)barrage send_to_user_id:(NSString*)send_to_user_id;


@property (nonatomic,copy) WTBarrageUpdateLeftCoinBlock updateLeftCoinBlock;
@end
